package com.dzh.mapper;

import com.dzh.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface CommentMapper {
    List<Comment> queryAllCommentById(Integer gid);
    Integer addComments(Comment comment);
    List<Comment> quertAllComment();
}
